{% extends 'sys_templates/public/seed_base.html' %}
{% block content %}
    <form class="layui-form">
        {% for foo in form %}
            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>{{ foo.label }}
                </label>
                <div class="layui-input-inline">
                    {{ foo }}{% if foo.name=='grade_scope'%}
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">(示例:0-100)</span>
                    </div>
                    {% endif %}
                </div>
            </div>
        {% endfor %}
        <div class="layui-form-item">
            <label class="layui-form-label">
            </label>
            <a class="layui-btn" href="javascript:;" onclick="submit_post()">保存</a>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </form>
{% endblock %}
